how to enable max quality threads